package com.shuwen.gcdj.bean.auth;

import com.shuwen.gcdj.common.enums.ErrorCode;
import com.shuwen.gcdj.dto.account.InitUserDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class CurrentUserInfoBeanWrap {
    /**
     * error code
     */
    @ApiModelProperty("error code")
    private ErrorCode errorCode;

    /**
     * 用户信息
     */
    @ApiModelProperty("用户信息")
    private InitUserDto currentUserInfoBean;
}
